from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
from django.contrib.auth.views import login, logout
from afms.activity.views import profile


admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'afms.views.home', name='home'),
    # url(r'^afms/', include('afms.foo.urls')),

    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
    (r'^accounts/login/$',  login),
    (r'^accounts/logout/$', logout),
    (r'^accounts/profile/$', profile),
    
    (r'^activity/', include('afms.activity.urls')),    
)
